function uploadValidation() {
	var completed = true;
	if (document.getElementById("mediaNameID").value == "") {
		document.getElementById("mediaNameError").innerHTML = "Media name required!";
		completed = false;
	} else {
		document.getElementById("mediaNameError").innerHTML = "";
	}
	if (document.getElementById("fileNameID").value == "") {
		document.getElementById("fileNameError").innerHTML = "Select a file location!";
		completed = false;
	} else {
		document.getElementById("fileNameError").innerHTML = "";
	}
	return completed;
}

function password_retrive_validation() {
	var completed = true;
	if (document.getElementById("email").value == "") {
		document.getElementById("email").innerHTML = "email address required!";
		completed = false;
	} else {
		document.getElementById("emailError").innerHTML = "";
	}
	return completed;
}